score = int(input("请输入分数："))
if score >= 90:
    print("优秀")
elif score >= 80 and score <= 90:
    print("良好")
elif score >= 80 and score <= 70:
    print("合格")
elif 60 <= score <70:
    print("差")
else:
    print("不合格")